package com.kaisa.activity.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2015/12/14.
 */
public class SortSearchBean implements Serializable{


    /**
     * code : 0
     * msg : 成功
     */

    private ResultmsgEntity resultmsg;
    /**
     * resultmsg : {"code":"0","msg":"成功"}
     * totalCount : 21
     * hotTerms : [{"id":1120,"hotTerm":"迪拜","begindate":1449590400000,"enddate":1454255999000,"hitCount":109,"sort":"1","createTime":1449649897000,"lastmodifytime":1449649897000},{"id":1104,"hotTerm":"澳大利亚","begindate":1446566400000,"enddate":1451491199000,"hitCount":1724,"sort":"2","createTime":1446634421000,"lastmodifytime":1446634421000},{"id":3,"hotTerm":"大溪地","begindate":1439136000000,"enddate":1451491199000,"hitCount":2373,"sort":"3","createTime":1439226339000,"lastmodifytime":1446430222000},{"id":1121,"hotTerm":"北海道","begindate":1449590400000,"enddate":1454255999000,"hitCount":121,"sort":"3","createTime":1449649916000,"lastmodifytime":1449649916000},{"id":1122,"hotTerm":"游学","begindate":1449590400000,"enddate":1454255999000,"hitCount":20,"sort":"4","createTime":1449649932000,"lastmodifytime":1449649932000},{"id":1123,"hotTerm":"MSC","begindate":1449590400000,"enddate":1456761599000,"hitCount":20,"sort":"5","createTime":1449649992000,"lastmodifytime":1449650003000},{"id":1124,"hotTerm":"南非","begindate":1449590400000,"enddate":1454255999000,"hitCount":27,"sort":"6","createTime":1449650029000,"lastmodifytime":1449650029000},{"id":1061,"hotTerm":"日本","begindate":1443628800000,"enddate":1459439999000,"hitCount":5255,"sort":"8","createTime":1443584435000,"lastmodifytime":1449650102000},{"id":1125,"hotTerm":"台湾","begindate":1449590400000,"enddate":1454255999000,"hitCount":121,"sort":"9","createTime":1449650225000,"lastmodifytime":1449650225000}]
     */

    private int totalCount;
    /**
     * id : 1120
     * hotTerm : 迪拜
     * begindate : 1449590400000
     * enddate : 1454255999000
     * hitCount : 109
     * sort : 1
     * createTime : 1449649897000
     * lastmodifytime : 1449649897000
     */

    private List<HotTermsEntity> hotTerms;

    public void setResultmsg(ResultmsgEntity resultmsg) {
        this.resultmsg = resultmsg;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public void setHotTerms(List<HotTermsEntity> hotTerms) {
        this.hotTerms = hotTerms;
    }

    public ResultmsgEntity getResultmsg() {
        return resultmsg;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public List<HotTermsEntity> getHotTerms() {
        return hotTerms;
    }

    public static class ResultmsgEntity implements Serializable{
        private String code;
        private String msg;

        public void setCode(String code) {
            this.code = code;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }

        public String getCode() {
            return code;
        }

        public String getMsg() {
            return msg;
        }
    }

    public static class HotTermsEntity implements Serializable{
        private int id;
        private String hotTerm;
        private long begindate;
        private long enddate;
        private int hitCount;
        private String sort;
        private long createTime;
        private long lastmodifytime;

        public void setId(int id) {
            this.id = id;
        }

        public void setHotTerm(String hotTerm) {
            this.hotTerm = hotTerm;
        }

        public void setBegindate(long begindate) {
            this.begindate = begindate;
        }

        public void setEnddate(long enddate) {
            this.enddate = enddate;
        }

        public void setHitCount(int hitCount) {
            this.hitCount = hitCount;
        }

        public void setSort(String sort) {
            this.sort = sort;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public void setLastmodifytime(long lastmodifytime) {
            this.lastmodifytime = lastmodifytime;
        }

        public int getId() {
            return id;
        }

        public String getHotTerm() {
            return hotTerm;
        }

        public long getBegindate() {
            return begindate;
        }

        public long getEnddate() {
            return enddate;
        }

        public int getHitCount() {
            return hitCount;
        }

        public String getSort() {
            return sort;
        }

        public long getCreateTime() {
            return createTime;
        }

        public long getLastmodifytime() {
            return lastmodifytime;
        }
    }
}
